package com.hdsx.restful.glzt.roadline.nclx.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.hdsx.restful.dao.Mapper;
import com.hdsx.restful.glzt.roadline.lxxx.bean.LxdmMapLxmc;
import com.hdsx.restful.glzt.roadline.nclx.bean.Nclx;
import com.hdsx.restful.glzt.structure.ql.bean.DoubleValueName;
import com.hdsx.restful.glzt.structure.ql.bean.IntValueName;

@Mapper
public interface NclxMapper{
	List<Nclx> selectList(Map<String, Object> map);
	
	int selectCount(Map<String, Object> map);
	/**
	 * 路线统计
	 * @param parameter
	 * @return
	 */
	List<IntValueName> countTotalByParameter(Map<String, Object> parameter);
	/**
	 * 路线统计
	 * @param parameter
	 * @return
	 */
	List<DoubleValueName> countLengthByParameter(Map<String, Object> parameter);
	
	List<LxdmMapLxmc> selectResultsByParameter(@Param("dm")String dm, @Param("mc")String mc);
	
	Nclx queryById(String id);
}
